package com.xcb.spring.demo.aop;

import com.xcb.spring.aop.AspectJExpressionPointcutAdvisor;
import com.xcb.spring.beans.Component;
import org.aopalliance.aop.Advice;

@Component
public class AspectJExpressionPointcutAdvisorDemo extends AspectJExpressionPointcutAdvisor {

    public AspectJExpressionPointcutAdvisorDemo(){
        super.setAdvice(new TimerInterceptor());
        super.setExpression("execution(* com.xcb.spring.demo.service.*.*(..))");
    }


}
